package com.hx.hospital.service;


import com.hx.common.result.PageResult;
import com.hx.hospital.pojo.Doctor;
import com.hx.hospital.vo.DoctorVo;

import java.util.List;
import java.util.Map;

/**
 * doctor业务逻辑层
 */
public interface DoctorService {


    public List<Doctor> findDoctorAll();

    public List<Doctor> findDoctorById(Long id);

    public List<Doctor> findAll();

    public PageResult<Doctor> findPage(int page, int size);


    public List<Doctor> findList(Map<String, Object> searchMap);


    public PageResult<Doctor> findPage(Map<String, Object> searchMap, int page, int size);


    public Doctor findById(Long id);

    public void add(Doctor doctor);


    public void update(Doctor doctor);


    public void delete(Long id);

}
